package com.kaifamiao.www.demo.do0809.ex;

public class AgeException extends Exception {
    public AgeException(){}
    public AgeException(String msg){
        super(msg);
    }
}
class GenderException extends RuntimeException{
    public GenderException(){}
    public GenderException(String msg){
        super(msg);
    }
    public GenderException(String msg,Throwable throwable){
        super(msg,throwable);
    }
}

